/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * JobsPanel.java
 *
 * Created on Jul 3, 2011, 10:40:32 PM
 */
package ua.pp.bizon.yandex.nb;

/**
 * 
 * @author Bizon
 */
public class JobsPanel extends javax.swing.JPanel {

	/** Creates new form JobsPanel */
	public JobsPanel() {
		initComponents();
	}

	/**
	 * This method is called from within the constructor to initialize the form.
	 * WARNING: Do NOT modify this code. The content of this method is always
	 * regenerated by the Form Editor.
	 */
	@SuppressWarnings("unchecked")
	// <editor-fold defaultstate="collapsed"
	// desc="Generated Code">//GEN-BEGIN:initComponents
	private void initComponents() {
		java.awt.GridBagConstraints gridBagConstraints;

		nameLabel = new javax.swing.JLabel();
		jobsComboBox = new javax.swing.JComboBox();
		jScrollPane1 = new javax.swing.JScrollPane();
		propsTable = new javax.swing.JTable();

		setLayout(new java.awt.GridBagLayout());

		nameLabel.setText("job name");
		gridBagConstraints = new java.awt.GridBagConstraints();
		gridBagConstraints.gridx = 0;
		gridBagConstraints.gridy = 1;
		gridBagConstraints.insets = new java.awt.Insets(3, 3, 3, 3);
		add(nameLabel, gridBagConstraints);

		jobsComboBox.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
		jobsComboBox.addItemListener(new java.awt.event.ItemListener() {
			public void itemStateChanged(java.awt.event.ItemEvent evt) {
				jobsComboBoxItemStateChanged(evt);
			}
		});
		gridBagConstraints = new java.awt.GridBagConstraints();
		gridBagConstraints.gridx = 0;
		gridBagConstraints.gridy = 0;
		gridBagConstraints.ipadx = 537;
		gridBagConstraints.ipady = 2;
		gridBagConstraints.insets = new java.awt.Insets(3, 3, 3, 3);
		add(jobsComboBox, gridBagConstraints);

		propsTable.setModel(new javax.swing.table.DefaultTableModel(new Object[][] { {}, {} }, new String[] {

		}));
		jScrollPane1.setViewportView(propsTable);

		gridBagConstraints = new java.awt.GridBagConstraints();
		gridBagConstraints.gridx = 0;
		gridBagConstraints.gridy = 2;
		gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
		gridBagConstraints.ipadx = 352;
		gridBagConstraints.ipady = 41;
		gridBagConstraints.weightx = 1.0;
		gridBagConstraints.weighty = 1.0;
		gridBagConstraints.insets = new java.awt.Insets(3, 3, 3, 3);
		add(jScrollPane1, gridBagConstraints);
	}// </editor-fold>//GEN-END:initComponents

	private void jobsComboBoxItemStateChanged(java.awt.event.ItemEvent evt) {// GEN-FIRST:event_jobsComboBoxItemStateChanged

	}// GEN-LAST:event_jobsComboBoxItemStateChanged

	// Variables declaration - do not modify//GEN-BEGIN:variables
	private javax.swing.JScrollPane jScrollPane1;
	private javax.swing.JComboBox jobsComboBox;
	private javax.swing.JLabel nameLabel;
	private javax.swing.JTable propsTable;
	// End of variables declaration//GEN-END:variables
}
